import request from './service'


// 处方综合管理获取数据
export const Checkprescriptions =async (data)=>{
    const res=  await request.get('/recipel/list',data)
    return res
  }

//  获取处方详情
export const Prescriptiondetails =async (data)=>{
    const res=  await request.get('/recipel/infobyid',data)
    return res
  }

//   获取营收数据表数据
export const Revenuedata =async (data)=>{
    const res=  await request.get('/infomationcenter/revenue',data)
    return res
  }


//获取病床管理综合管理的数据
export const Bedintegratedmanagement =async (data)=>{
  const res=  await request.get('/bedtable/list',data)
  return res
}

// 病床删除
export const Bedremoval =async (data)=>{
  const res=  await request.get('/bedtable/del',data)
  return res
}



// 病床批量删除
export const Batchremovalofbeds =async (data)=>{
  const res=  await request.get('/bedtable/batchdel',data)
  return res
}


//病床修改接口
export const Bedmodification =async (data)=>{
  const res=  await request.get('/bedtable/edit',data)
  return res
}


// 获取医生和科室接口
export const Medicaldepartment =async (data)=>{
  const res=  await request.get('/bedtable/search',data)
  return res
}


//添加床位
export const Bedaddition =async (data)=>{
  const res=  await request.get('/bedtable/add',data)
  return res
}






//获取挂号列表
export const Getregistrationlist =async (data)=>{
  const res=  await request.get('/register/list',data)
  return res
}

// 获取挂号单详情
export const Getregistrationslipdetails =async (data)=>{
  const res=  await request.get('/register/getbyid',data)
  return res
}

// 搜索挂号订单
export const Searchregisteredorder =async (data)=>{
  const res=  await request.get('/register/search',data)
  return res
}


//删除挂号单
export const Cancellationofregistration =async (data)=>{
  const res=  await request.post('/register/batchdel',data)
  return res
}
